import request from '@/utils/request'

export function getReportList(data) {
    return request({
        url: '/post/postReport/query/page',
        method: 'get',
        params: data
    })
}

export function editReportPost(data) {
    return request({
        url: '/post/postReport/updatePostReport',
        method: 'put',
        data
    })
}

export function deleteReportPost(data) {
    return request({
        url: `/post/postReport/deleteById/${data}`,
        method: 'delete',
    })
}